import type { AppRouteModule } from '@/router/types';

import { LAYOUT } from '@/router/constant';
import { t } from '@/hooks/web/useI18n';

const stageManage: AppRouteModule = {
  path: '/stageManage',
  name: 'StageManage',
  component: LAYOUT,
  redirect: '/stageManage/performanceEditor',
  meta: {
    orderNo: 10,
    icon: 'ion:grid-outline',
    title: t('routes.stageManage.stageManage'),
  },
  children: [
    {
      path: '/stageManage/performanceEditor',
      name: 'performanceEditor',
      component: () => import('@/views/stageManagemenet/performanceEditor/index.vue'),
      meta: {
        title: t('routes.stageManage.performanceEditor'),
      }
    },
  ]
}

export default stageManage;
